package com.kelaite.procurement.service;

import java.util.List;

import com.kelaite.procurement.entity.TSalesOrderExecution;
import com.kelaite.procurement.entity.TUser;
import com.kelaite.procurement.entity.TVendor;

public interface SalesOrderExecutionService {
	public TSalesOrderExecution save(TSalesOrderExecution persistence);

	public void deleteByPrimaryKey(Long id);
	
	public void deleteByObject(TSalesOrderExecution persistence);

	public TSalesOrderExecution getObject(Long id);
	
	public List<TSalesOrderExecution> getAll();

	public List<TSalesOrderExecution> getByProperty(String property, Object value);
	
	public int confirmSalesOrderExecution(String[] orderExecutionIds);
	
	public int uploadSalesOrderExecutionFile(String doc1,long salesOrderID,TUser currentUser,TVendor vendor);
}
